console.log('test.setting');
var assert = require('assert');

import {getImagePath} from '../utils/index.js';

describe('utils', function () {
  describe('index.js', function () {
    it('should return -1 when the value is not present', function () {
      assert.equal(getImagePath(''), '');
    });
  });
});
describe('utils', function () {
  describe('index.js', function () {
    it('should return -1 when the value is not present', function () {
      assert.equal(getImagePath('{"id":"testImage"}'), '/api/user/material/image/testImage.jpg');
    });
  });
});